package com.zzyl.nursing.service;

import com.zzyl.nursing.domain.Reservation;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zzyl.nursing.dto.ReservationDto;
import com.zzyl.nursing.vo.RemainReservationCountVo;
import com.zzyl.nursing.vo.ReservationVo;

import java.util.List;
import java.util.Map;

/**
 * 预约信息Service接口
 * 
 * @author ruoyi
 * @date 2025-06-06
 */
public interface ReservationService extends IService<Reservation>
{

    Integer getCancelledReservationCount(Long userId);

    List<RemainReservationCountVo> getRemainCount(long time);

    void add(ReservationDto reservationDto);

    List<ReservationVo> selectByPage(int status);

    void cancel(long id);
}
